<template>
	<view class="content">
		<u-navbar class="head-index" :fixed="false" :safeAreaInsetTop="true" :autoBack="true"
			leftIconColor="#fff"></u-navbar>

		<view class="MainBox">
			<view>
				<text style="font-size: 28px;font-weight: 400;color: #333;">安全设置</text>
			</view>

			<view style="margin-top: 10px;">
				<u-cell :border="false" title="设置新密码" :titleStyle="{'font-weight':600}" isLink :clickable="false"
					@click="ChangePassword"></u-cell>
			</view>

			<view style="font-size: 12px;color: #999;">
				<text>修改密码后，不会清除历史设备信息，但需重新登录</text>
			</view>


		</view>

	</view>
</template>

<script>
	export default {
		components: {},
		data() {
			return {};
		},
		methods: {
			ChangePassword() {
				uni.navigateTo({
					url: '/qms/SettingBox/ChangePassword',
					fail(error) {
						console.log(error)
					}
				})
			},
		}
	}
</script>

<style lang="scss">
	* {
		margin: 0;
		padding: 0;
		box-sizing: border-box;
	}

	.content {
		height: 100vh;

		.MainBox {
			padding: 20px 30px;

			.u-cell {

				.u-cell__body {
					// padding-left: 0 !important;
					padding: 10px 15px 15px 0 !important;
				}
			}
		}
	}
</style>